﻿using AdminSystem.EntityFramworkCore;
using MediatR;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Application.Commands.BreedCommands
{
    public class BreedAddCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 产品Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Variety { get; set; }
        /// <summary>
        /// 产地
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDays { get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FeedingBrand { get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string FeedingName { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime SaleDate { get; set; }
        /// <summary>
        ///企业信息Id
        /// </summary>
        public int FarmEnterpriseId { get; set; }
        /// <summary>
        ///免疫Id
        /// </summary>
        public int ImmunityId { get; set; }
        /// <summary>
        ///添加人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        ///添加时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
